package com.example.demo.dao;

import com.example.demo.pojo.Activityesarea;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
@Mapper
public interface ActivityesareaDao {
    int deleteByPrimaryKey(Integer activityesareaid);

    int insert(Activityesarea record);

    int insertSelective(Activityesarea record);

    Activityesarea selectByPrimaryKey(Integer activityesareaid);
    //显示所有活动
    @Select("select * from activityesarea")
    List<Activityesarea> selectAll();

    int updateByPrimaryKeySelective(Activityesarea record);

    int updateByPrimaryKey(Activityesarea record);
}